import { useState } from "react";
import Calendar from "./Calendar";
import dayjs from "dayjs";

function App() {
  const [day, setDay] = useState(dayjs("2025-04-01"));
  return (
    <>
      <Calendar value={day} onChange={(date) => {
        console.log(date.format("YYYY-MM-DD"), day.format("YYYY-MM-DD"));
      }} />
    </>
  );
}

export default App;
